package com.xmut.mall.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xmut.mall.order.utils.PageUtils;
import com.xmut.mall.order.entity.TradeEntity;
import com.xmut.mall.order.utils.RespBean;
import com.xmut.mall.order.vo.PayVo;

import java.util.Map;

/**
 * 
 *
 * @author 1912120131suntingxing
 * @email 1192081604@qq.com
 * @date 2023-02-05 11:56:54
 */
public interface TradeService extends IService<TradeEntity> {




    /**
     * 获取支付相关交易参数
     * @param vo
     * @return
     */
    RespBean tradeDetail(PayVo vo);

    /**
     * 根据订单sn获取该订单的交易sn
     * @param sn
     * @return
     */
    RespBean getTradeSnByOrderSn(String sn);
}

